package com.collabscm.pf;

import com.collabscm.pf.util.ConstantUtils;

/**
 * 通用常量定义，也作为本系统业务常量的定义的参考示例。
 *
 * @author Zeng Raoxing
 */
public final class CommonConstants {
	private CommonConstants(){}
	//-- 通用状态，用于DomainObject的Status字段等相关的取值
	/**有效*/
	public static final Integer STATUS_ENABLE = ConstantUtils.getConstant("comm_status", "enable");
	/**无效*/
	public static final Integer STATUS_DISABLE = ConstantUtils.getConstant("comm_status", "disable");
	
	//-- 性别
	/**男*/
	public static final Integer GENDER_MALE = ConstantUtils.getConstant("gender", "male");
	/**女*/
	public static final Integer GENDER_FEMALE = ConstantUtils.getConstant("gender", "female");
	//-- 用户类型
	/**管理员*/
	public static final Integer ADMIN = ConstantUtils.getConstant("user_category", "admin");
	/**操作员*/
	public static final Integer OPERATE = ConstantUtils.getConstant("user_category", "operate");
	
}
